<{include file="section/admin/header2.tpl"}>
<!--box02 st-->
<div class="box02" style="width:1600px;">
	<div class="box02_1" >
		<div class="search02 clear">
			<form action="" id="order_search" name="order_search" method="get">
			<ul>
			<input type="button" onclick="submit_export_1();" class="btn04" value="批量导出" name="submit_export" id="submit_export"></li>	
			</ul>
			</form>
		</div>
			<div class="table01" >
				<table cellpadding="0" cellspacing="0" width="100%" border="0" id="table" >
				<tr class="th">
				<th><div style="width:160px;">订单号</div></th>
				<th><div style="width:120px;">付款时间</div></th>
				<th><div style="width:200px;">passport</div></th>
				<th><div style="width:50px;">店铺ID</div></th>
				<th><div style="width:150px;">店铺名称</div></th>
				<th><div style="width:50px;">服务类型</div></th>
				<th><div style="width:50px;">服务年限</div></th>
				<th><div style="width:120px;">服务终止时间</div></th>
				<th><div style="width:50px;">订单金额</div></th>
				<th><div style="width:50px;">实付金额</div></th>
				<th><div style="width:50px;">代理公司</div></th>
				<th><div style="width:50px;">销售人员</div></th>
				<th><div style="width:50px;">确认人员</div></th>
				<th><div style="width:120px;">订单确认时间</div></th>
				</tr>
				<{foreach from=$orders  item=order}>
				<tr class="bg">
				<td ><{$order.order_id}>&nbsp;</td>
				<td ><{if $order.pay_time neq 0}><{'Y-m-d H:i:s'|@date:$order.pay_time}><{/if}>&nbsp;</td>
				<td ><{$order.passport}>&nbsp;</td>
				<td ><{$order.shop_id}>&nbsp;</td>
				<td ><{$order.shop_name}>&nbsp;</td>
				<td ><{$order.title}>&nbsp;</td>
				<td ><{$order.year}>&nbsp;</td>
				<td ><{if $order.finish_time neq 0}><{'Y-m-d H:i:s'|@date:$order.finish_time}><{/if}>&nbsp;</td>
				<td ><{$order.order_price}>&nbsp;</td>
				<td ><{$order.amount_real}>&nbsp;</td>
				<td ><{$order.agent_corp}>&nbsp;</td>
				<td ><{$order.seller}>&nbsp;</td>
				<td ><{$order.confirm_man}>&nbsp;</td>
				<td ><{if $order.update_time neq 0}><{'Y-m-d H:i:s'|@date:$order.update_time}><{/if}>&nbsp;</td>						
				</tr>
				<{/foreach}>
				</table>
			</div>
		<div class="box02_lab clear">
			<div class="page clear">
			共计：<{$pagecount}>
			<{$pagination}>
			</div>
		</div>
	</div>
</div>
<!--box02 end-->
<iframe src="" width="0" height="0" frameborder="0" scrolling="no" name="ifra_export"></iframe>

<script>


function submit_search()
{
	
	$('#order_search').attr('action','/orders/list/');
	
	$('#order_search').submit();
}

function submit_export_1() 
{

	$('#order_search').attr('action','/caiwu/export/');

	
	$('#order_search').submit();

}

</script>
<{include file="section/admin/footer2.tpl"}>
